package com.ruoyi.scheme.mapper;

import com.ruoyi.scheme.dto.EcologicalRepairSchemeDTO;
import com.ruoyi.scheme.pojo.EcologicalRepairScheme;
import com.ruoyi.scheme.vo.EcologicalRepairSchemeVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface EcologicalRepairSchemeMapper {

    void insert(EcologicalRepairSchemeDTO ecologicalRepairSchemeDTO);

    void delete(Long schemeId);

    void update(EcologicalRepairSchemeDTO ecologicalRepairSchemeDTO);

    List<EcologicalRepairSchemeVO> select(@Param("schemeId") Long schemeId,
                                          @Param("patchId") Integer patchId);

    EcologicalRepairSchemeVO selectById(Long schemeId);


}
